package com.dtx.config;


import cn.hutool.json.JSONUtil;
import com.dtx.controller.in.EditUserParam;
import com.dtx.utils.JsonUtil;
import com.dtx.utils.classloader.ClassLoaderUtils;

/**
 * Author: dtx
 * Date: 2022/8/2 18:41
 */
public class JSONBuilding {

    public static void main(String[] args) throws Exception {
        EditUserParam editUserParam = ClassLoaderUtils.newInstance(EditUserParam.class);
        System.out.println(editUserParam);
        System.out.println(JsonUtil.stringifyPretty(editUserParam));
    }
}
